import request from '@/utils/request'

// 查询数据清洗管理列表
export function listDataCleanManagement(query) {
  return request({
    url: '/system/dataCleanManagement/list',
    method: 'get',
    params: query
  })
}

// 查询数据清洗管理详细
export function getDataCleanManagement(id) {
  return request({
    url: '/system/dataCleanManagement/' + id,
    method: 'get'
  })
}

// 新增数据清洗管理
export function addDataCleanManagement(data) {
  return request({
    url: '/system/dataCleanManagement',
    method: 'post',
    data: data
  })
}

// 修改数据清洗管理
export function updateDataCleanManagement(data) {
  return request({
    url: '/system/dataCleanManagement',
    method: 'put',
    data: data
  })
}

// 删除数据清洗管理
export function delDataCleanManagement(id) {
  return request({
    url: '/system/dataCleanManagement/' + id,
    method: 'delete'
  })
}
